#include <irrlicht.h>

using namespace irr;
using namespace core;
using namespace video;

class World;

const f32 BULLET_SPEED = 25.0f; // px/frame

class Bullet
{
	World* world;

	u32 id;
	position2df startPos;//for drawing trace lines
	position2df pos;
	f32 angle;
	ITexture* bulletImage;

public:
	Bullet(World* _world, position2df _pos, f32 _angle, u32 _number);

	void BulletFlying();
	void Draw();
	u32 getId();
};